package com.xy.tool.minio.configuration;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "minio")
public class MinioProp {
    /**
     * 连接地址
     */
    private String endpoint;
    /**
     * 用户名
     */
    private String accessKey;
    /**
     * 密码
     */
    private String secretKey;
    /**
     * 域名
     */
    private String filHost;
    /**
     * 连接超时
     */
    private Long connectTimeout;
    /**
     * 写超时
     */
    private Long writeTimeout;
    /**
     * 读超时
     */
    private Long readTimeout;
}
